﻿@model MvcApplication5.Models.TagModel


@{
    ViewBag.Title = "Tag";
    Layout = null;

    var highlight = (from item in Model.newsList
                     select item).Take(3);
}

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="/css/style.css"
    medial="all" />
</head>

<body>
<div class="main">
	<div class="header">
    </div> <!--End header-->
    <div class="header-footer"></div>
    <div class="menu">
    	<ul>            
        	<li class="menu-sub"><a href="/NewsSite" class="menu-sub-text">Trang chủ</a></li>
            @foreach (var item in Model.Categories){
                    <li class="menu-sub"><a href="/NewsSite/Category/@item.CategoryId" class="menu-sub-text">@item.Name</a></li>                                            
            }                            
        </ul>
    </div> <!--End menu-->
    
    <div class="body">
    	<div class="body-left">
           <div class="body-left-topic01">
           		<div class="body-left-topic-header01">
                    <div class="tag-title">
                       Tag: @Model.Tag.TagName
                    </div>
           		</div>                
               @foreach(var item in Model.newsList){
               <div class="category-newslist">
                    <div class="category-newslist-image">
                        <a><img src="/CSS/images/@item.Image" style="width:200px; height:180px"/></a>
                    </div>
                    <div class="category-newslist-content">
                        <h2>@item.Title</h2>

                    </div>
               </div>
               }
           </div> <!--End body-left-topic01-->                              
        </div> <!--End body-left-->
    </div> <!--End body-->
    
</div> <!--End main-->
</body>
</html>
